Skip to content

Conversation

NOVBobLee
Copy link
Collaborator

After class_register failure, the wrong function class_unregister was used. The correct cleanup function should be unregister_chrdev, as register_chrdev was used before class_register.

After class_register failure, the wrong function class_unregister was
used. The correct cleanup function should be unregister_chrdev, as
register_chrdev was used before class_register.
@jserv
Copy link
Contributor

jserv commented Oct 20, 2024

Thanks for spotting this issue. Can you point out more in current example code?

@NOVBobLee
Copy link
Collaborator Author

NOVBobLee commented Oct 20, 2024

Yes, I’ll go through the current example code and point out any additional issues I find. I'll update you in a few days.

@jserv jserv requested a review from linD026 October 20, 2024 18:03
@jserv jserv merged commit ac18946 into sysprog21:master Oct 20, 2024
1 check passed
@jserv
Copy link
Contributor

jserv commented Oct 20, 2024

Thank @NOVBobLee for contributing!

@NOVBobLee NOVBobLee deleted the pr branch October 21, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants